<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="/thinkphp/firstproject/Public/css/lecture.css" rel="stylesheet" type="text/css" />
<title>编写文章</title>
</head>

<body>
<div class="header">
  <a href="me"><div class="image"><img src="/thinkphp/firstproject/Public/image/user3.png" alt=""></div></a>
  <div class="name">
    <h1><?php echo ($name[0]['user_name']); ?></h1>
    <h1><?php echo ($tip); ?></h1>
    <br/>
    <span>浏览于 2016/11/7</span> </div>
</div>
<div class="body">
<form action="/thinkphp/firstproject/index.php/Home/Index/article_submit" method="POST">
  <div class="menu">
    <ul>
      <li><a href="home_page">首页</a></li>
      <li><a href="me">文章管理</a></li>
      <li><a href="me">评论管理</a></li>
      <li><a href="me">垃圾箱</a></li>
      <li><a href="me">回收站</a></li>
    </ul>
  </div>
  <div class="fabiao">
    <div class="biaoti">
      <p>文章标题</p>
      <select name=se size="1">
        <option>文艺</option>
        <option>科技</option>
        <option>生活</option>
        <option>百科</option>
      </select>
      <div class="infor" >
          <input type="text" placeholder="文章标题"  class="input" value="" name="title" required/>
      </div>
    </div>
    <div class="information">
      <p>文章内容</p>
      <textarea  class="text" name="article" placeholder="    一切都还好吗"></textarea>
    </div>
    <div class="nice">
      <p>添加图片</p>
    </div>
    <div class="fire">
        <input type="file" class="image-file">
      <div class="tishi"> <span>1.图片大小不能超过2M。</span><br/>
        <span>2.支持.png .jpg .gif。</span></div>
    </div>
    <div class="finish">
      <input type="submit" value="发表文章" class="button-fabiao" value="">
      <input type="submit" value="保存文章" class="button-baocun" value="">
      <input type="submit" value="舍弃"     class="button-de" value="">
    </div>
  </div>
</form>
</div>
<div class="footer">@FirstProjet2016-2066 版权所有</div>
</body>
</html>